﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Harkon.AppServer.cOne.CommandQueues
{
    public abstract class StandardCommand
    {
        public Guid CommandGuid { get; private set; }
        public string CommandName { get; set; }

        public StandardCommand()
        {
            CommandGuid = Guid.NewGuid();
        }

        public override string ToString()
        {
            return string.Format("[Command {0}; Name={1}]", CommandGuid.ToString(), CommandName);
        }
    }
}
